[NTG-context] Re: Spacing problem in formula

2024-01-15 Thread Henning Hraban Ramm
Am 15.01.24 um 13:21 schrieb Hans Hagen: On 1/15/2024 8:00 AM, Shiv Shankar Dayal wrote: Thanks a lot Mikael. in addition: in context lmtx {} are grouping symbols not (ordinary) empty atoms Only in math, or generally? \startquotation {}[…] Here I need the empty group, otherwise the

[NTG-context] Re: Spacing problem in formula

2024-01-15 Thread Hans Hagen
;> wrote: > > Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 then it appears as if n is power of - and +. The same formula in LaTeX comes out nicely. Is there something I need to change? > > -- > Resp

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
> If you want them below, use double _. > > /Mikael > > On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal > wrote: > > > > Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 > then it appears as if n is power of - and +. The same for

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Mikael Sundqvist
ypeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 then > it appears as if n is power of - and +. The same formula in LaTeX comes out > nicely. Is there something I need to change? > > -- > Respect,

[NTG-context] Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 then it appears as if n is power of - and +. The same formula in LaTeX comes out nicely. Is there something I need to change? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
gt; A = B > \stopformula > > vs > > \startformula \startalign > \NC A \NC B \NR > \NC A \NC B \NR > \stopalign \stopformula > \stoptext > > The first display formula is flush left, but the aligned formula is centered > on the page. This appears to be a regression com

[NTG-context] formula alignment for mathalign

2023-09-28 Thread Aditya Mahajan
The first display formula is flush left, but the aligned formula is centered on the page. This appears to be a regression compared to MkIV, where the above example works correctly. Aditya ___ If your question

Re: [NTG-context] Math Formula Alignment

2023-02-24 Thread Lutz Haseloff via ntg-context
Thank you Hans! Alignment works again as expected and documented in the Wiki. Greetings Lutz Am 23.02.2023 um 14:53 schrieb Hans Hagen via ntg-context: On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote: Hi, On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context wrote:

Re: [NTG-context] Math Formula Alignment

2023-02-23 Thread Hans Hagen via ntg-context
On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote: Hi, On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context wrote: Hi Hans, hi all, the alignment of formulas seems broken: \setuppapersize[A5] \starttext \setuplayout[textwidth=8cm] \setupformulas[align=left]

Re: [NTG-context] Math Formula Alignment

2023-02-18 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context wrote: > > Hi Hans, hi all, > > the alignment of formulas seems broken: > > \setuppapersize[A5] > \starttext > \setuplayout[textwidth=8cm] > \setupformulas[align=left] > \startformula c^2 = a^2 + b^2 \stopformula >

[NTG-context] Math Formula Alignment

2023-02-18 Thread Lutz Haseloff via ntg-context
Hi Hans, hi all,   the alignment of formulas seems broken:   \setuppapersize[A5] \starttext \setuplayout[textwidth=8cm] \setupformulas[align=left] \startformula c^2 = a^2 + b^2 \stopformula

[NTG-context] Formula has excess vertical spacing when in two column itemize

2022-10-21 Thread Gavin via ntg-context
Hi List, I am getting better at adjusting the space in enumerations, but I just put a formula inside an enumeration, and the formula’s vertical spacing became excessive. I’m not sure how the enumeration caused this problem. \starttext Evaluate the following derivatives. \startitemize[n

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Hans Hagen via ntg-context
On 7/21/2022 8:42 PM, Pablo Rodriguez via ntg-context wrote: I guess there has been no newer release since Hans anonunced that. Indeed, for personal reasons no change yet to upload ... will happen one of these days (Mikael and I also need to check some things first). Hans

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Pablo Rodriguez via ntg-context
On 7/21/22 19:48, Alan via ntg-context wrote: > On Fri, 15 Jul 2022 09:10:07 +0200 > Hans Hagen via ntg-context wrote: > >> there will be an update as soon as the mac intel bins are generated > > (still broken) Sorry, Alan, but I get from

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
On Thu, 21 Jul 2022 10:40:01 -0600 Alan via ntg-context wrote: > undefined link location > MWE: > > \setupinteraction [state=start] > > \starttext > > \placeformula [eq] > \startformula > x = 0 > \stopformula > > \page [yes] >

[NTG-context] formula reference link undefined

2022-07-21 Thread Alan via ntg-context
undefined link location MWE: \setupinteraction [state=start] \starttext \placeformula [eq] \startformula x = 0 \stopformula \page [yes] \in{formula} [eq] \stoptext ___ If your question

Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Thierry! The reason was, that i forgot \stoptext at the end Uschi Von: ntg-context im Auftrag von Thierry Horsin via ntg-context Gesendet: Mittwoch, 1. September 2021 14:01 An: ntg-context@ntg.nl Cc: Thierry Horsin Betreff: Re: [NTG-context] No formula

Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Thierry Horsin via ntg-context
Hi Ursula, I tried your formula. The reason might be because you have two \starttext... Thierry ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear Hans, thank you. Uschi Von: ntg-context im Auftrag von Hans Hagen via ntg-context Gesendet: Mittwoch, 1. September 2021 13:07 An: Ursula Hermann via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] No formula in the pdf On 9/1/2021 12:30 PM

Re: [NTG-context] No formula in the pdf

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 12:30 PM, Ursula Hermann via ntg-context wrote: Dear List I have the following example. \setuppapersize[A4] \mainlanguage[de] \starttext Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes definieren, indem wir schreiben \startformula   A_{ij}=5i

[NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
Dear List I have the following example. \setuppapersize[A4] \mainlanguage[de] \starttext Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes definieren, indem wir schreiben \startformula A_{ij}=5i \stopformula \starttext Why is there no formula in the pdf

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
:45 PM, Adam Reviczky wrote: > > Hi, > > > > Is there a way to have formula numbers showing all prefix segments? > > When I use prefixsegments, I get the desired numbering in the placelist > > but not in the formula number itself. > > > > For example: > &

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
On 3/20/2021 11:45 PM, Adam Reviczky wrote: Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext

Re: [NTG-context] Override MathML formula label

2019-07-29 Thread Duncan Hothersall
Brilliant, thanks Hans. Looks like I need to start delving properly into the power of the XML setups. Duncan On Sun, 28 Jul 2019 at 21:04, Hans Hagen wrote: > > \usemodule[mathml] > > \startxmlsetups mml:formula > \edef\mmlformulalabel{\xmlatt{#1}{label}} >

Re: [NTG-context] Override MathML formula label

2019-07-28 Thread Hans Hagen
On 7/27/2019 8:23 AM, Duncan Hothersall wrote: Hi all. In processing MathML if I want a formula to be numbered I add a label="X" attribute to the tag as per: \usemodule[mathml] \starttext \xmlprocessdata{}{     p=c-t   }{} \stoptext This will label the formula as (1). I

[NTG-context] Override MathML formula label

2019-07-27 Thread Duncan Hothersall
Hi all. In processing MathML if I want a formula to be numbered I add a label="X" attribute to the tag as per: \usemodule[mathml] \starttext \xmlprocessdata{}{ p=c-t }{} \stoptext This will label the formula as (1). I know I can adjust how the automatic numbering is gener

Re: [NTG-context] Formula number misplaced

2019-04-24 Thread Mikael P. Sundqvist
> > > > > > > > Dear list, > > > > > > The problem I describe does not make itself apparent in all > > situations, > > > but sometimes the formula number, which is placed by > > > \start...\stopplaceformula, is misplaced

Re: [NTG-context] Formula number misplaced

2019-04-24 Thread Hans Hagen
in all situations, > but sometimes the formula number, which is placed by > \start...\stopplaceformula, is misplaced and there appears a gap between > it and the right margin.  The MWE below reproduces the problem in the > latest beta and lmtx.  It can be "fixed

Re: [NTG-context] Formula number misplaced

2019-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2019, Mikael P. Sundqvist wrote: Yes, but it can also appear when not using TEXpage. When I tried out lmtx on a large file (not using TEXpage), it was there. I was not able to reproduce on a smaller file, though. I could give it another try, if necessary. An example will be

Re: [NTG-context] Formula number misplaced

2019-04-23 Thread Mikael P. Sundqvist
Den tis 23 apr. 2019 14:46Aditya Mahajan skrev: > On Tue, 23 Apr 2019, Henri Menke wrote: > > > > > Dear list, > > > > The problem I describe does not make itself apparent in all situations, > > but sometimes the formula number, which is placed by > >

Re: [NTG-context] Formula number misplaced

2019-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2019, Henri Menke wrote: Dear list, The problem I describe does not make itself apparent in all situations, but sometimes the formula number, which is placed by \start...\stopplaceformula, is misplaced and there appears a gap between it and the right margin. The MWE below

[NTG-context] Formula number misplaced

2019-04-23 Thread Henri Menke
Dear list, The problem I describe does not make itself apparent in all situations, but sometimes the formula number, which is placed by \start...\stopplaceformula, is misplaced and there appears a gap between it and the right margin. The MWE below reproduces the problem in the latest beta

[NTG-context] split long formula in two pages

2018-08-28 Thread Jeong Dal
Dear all, Sometime ago, I asked about the splitting the long formula. Since it is seldom to have a long formula, I manually break the formula using \startformula\startalign … formula \stopalign\stopformula \startformula\startalign … formula

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-28 Thread Jeong Dal
roof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi] \starttext \startproof This is a simple proof. \startformula 1+1=2. \stopformula \placeclosesymbol \stopproof \startproof This is anoth

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-27 Thread Aditya Mahajan
] \starttext \startproof This is a simple proof. \stopproof \startproof This is another simple proof that ends with a formula \startformula 1+1=2. \stopformula \stopproof \startproof \startitemize[n] \item first line. \item second line Add: \placeclosesymbol here \stopitemize \stopproof

[NTG-context] split long formula in two pages

2018-08-26 Thread Jeong Dal
Dear all, Sometimes, I wrote a long formula using \startformula\startalign … \stopalign\stopformula. In that case, if the remaining space in the current page is not enough to contain the formula, then it adds ‘page break’ and write the whole formula int the new page. I have read a discussion

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-26 Thread Jeong Dal
Hi, I am sorry to bring up old topic “Re: closesymbol on same line as displayed formula” again. (ntg-context Digest, Vol 153, Issue 40) Is there any progress after that? It seems to me that there is no more discussions about it. The same thing happens after the itemization as in the following

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Mikael P. Sundqvist
rformula > a^6 + b^6 = c^6. > \stopstarformula > > \stoptext > > Best regrads: OK > > On 8 Nov 2017, at 07:43, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > Hi! > > Is there a way to tag a displayed formula with arbitrary text? > > As far as I can re

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Otared Kavian
Is there a way to tag a displayed formula with arbitrary text? > > As far as I can remember it was possible to use \eqno before, but that does > not seem to be the case anymore. > > For my use case I do not need the possibility to cite the equation, if that > helps. > > I

[NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Mikael P. Sundqvist
Hi! Is there a way to tag a displayed formula with arbitrary text? As far as I can remember it was possible to use \eqno before, but that does not seem to be the case anymore. For my use case I do not need the possibility to cite the equation, if that helps. I asked the same question

Re: [NTG-context] Formula numbers in RTL mode

2017-05-28 Thread Hans Hagen
On 5/26/2017 5:02 AM, Mohammad Hossein Bateni wrote: For the record, here is my solution until the issue is fixed for RTL. \setupformula[distance=0pt] This causes the formula numbers to be at the proper place for left/right as well as LTR/RTL. It prevents some custom placement of the formula

Re: [NTG-context] Formula numbers in RTL mode

2017-05-25 Thread Mohammad Hossein Bateni
For the record, here is my solution until the issue is fixed for RTL. \setupformula[distance=0pt] This causes the formula numbers to be at the proper place for left/right as well as LTR/RTL. It prevents some custom placement of the formula number, which I do not care about. —MHB On Mon, May

[NTG-context] Formula numbers in RTL mode

2017-05-15 Thread Mohammad Hossein Bateni
Hi Hans, I recall something like this was reported a few months back, and you said you were reworking math alignment mechanisms at the time. Now that you're getting ready for the Tex Live version, I want to bring attention to this issue once again, in the hope of getting it resolved. Formula

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Mohammad Hossein Bateni
the > >>> purpose of this post is to ask if there is any solution to the problem > >>> now. Looking at the file below (output is attached), when the proof > >>> ends with a displayed formula, the closesymbol is located one row > >>> down

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Mikael P. Sundqvist
the problem >>> now. Looking at the file below (output is attached), when the proof >>> ends with a displayed formula, the closesymbol is located one row >>> down. I want it to be (flushright) on the same line as the displayed >>> formula. >>> >>&g

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Otared Kavian
> On 20 Mar 2017, at 23:46, Aditya Mahajan <adit...@umich.edu> wrote: > >> […] > > What is the expected output when the last formula has an equation number? > > Aditya Hi Aditya, That is a good point: if the equation numbers are on the right,

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Aditya Mahajan
ermail/ntg-context/2014/079807.html and the purpose of this post is to ask if there is any solution to the problem now. Looking at the file below (output is attached), when the proof ends with a displayed formula, the closesymbol is located one row down. I want it to be (flushright) on the sam

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Otared Kavian
; https://mailman.ntg.nl/pipermail/ntg-context/2014/079807.html and the >> purpose of this post is to ask if there is any solution to the problem >> now. Looking at the file below (output is attached), when the proof >> ends with a displayed formula, the closesymbol is l

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Mikael P. Sundqvist
text/2014/079807.html and the > purpose of this post is to ask if there is any solution to the problem > now. Looking at the file below (output is attached), when the proof > ends with a displayed formula, the closesymbol is located one row > down. I want it to be (flushright) on the same line as the

[NTG-context] closesymbol on same line as displayed formula

2017-03-14 Thread Mikael P. Sundqvist
below (output is attached), when the proof ends with a displayed formula, the closesymbol is located one row down. I want it to be (flushright) on the same line as the displayed formula. If I use \placeclosesymbol the closesymbol is indeed put on the correct line, but not flushright. Any ideas

Re: [NTG-context] Formula numbering conversion

2017-03-01 Thread Antoine Cailliau
rmalstopformula\stopformula >> \def\stopformula% >> {\normalstopformula >> \restorenumber[formula] >> \egroup >> \let\stopformula\normalstopformula} >> \bgroup >> \savenumber[formula] >> \def\dummyconversion##1{#2} >>

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
atag} > \def\doplaceformulatag[#1]#2% >{\let\normalstopformula\stopformula > \def\stopformula% > {\normalstopformula > \restorenumber[formula] > \egroup > \let\stopformula\normalstopformula} > \bgroup > \savenumber[form

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
Thanks. I updated the wiki. On 27 February 2017 at 17:18, Pablo Rodriguez wrote: > On 02/27/2017 04:55 PM, Antoine Cailliau wrote: > > The following code is documented to change the numbering of the > equations. > > However, this still use numerals for the equations. > > [...] >

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Pablo Rodriguez
On 02/27/2017 04:55 PM, Antoine Cailliau wrote: > The following code is documented to change the numbering of the equations. > However, this still use numerals for the equations. > [...] > Is this a bug ? Is it the correct way to change the numbering ? Hi Antoine, it’s numberconversion (as it

[NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
The following code is documented to change the numbering of the equations. However, this still use numerals for the equations. \setupformulas[conversion=characters] \starttext \placeformula[test] \startformula E = mc^2 \stopformula \stoptext Is this a bug ? Is it the correct way to change

Re: [NTG-context] align text and formula

2017-02-09 Thread Jan Willem Flamma
t; \stopalign >> \stopformula >> >> \stoptext >> >> The inner workings of this solution are quite messy. You *have* to have the >> \NC\NC between text and formula and the formula must not contain any further >> alignment points; text has to be enclosed in

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-17 Thread Mikael P. Sundqvist
On Tue, Jan 17, 2017 at 7:56 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 1/16/2017 11:27 PM, Jeong Dal wrote: > >> If I remove either “%” or the formula, then the output looks fine. > > > indeed, some subtle end-par-too-late-then-

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Hans Hagen
On 1/16/2017 11:27 PM, Jeong Dal wrote: If I remove either “%” or the formula, then the output looks fine. indeed, some subtle end-par-too-late-then-and-grouping issue Hans - Hans Hagen

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Jeong Dal
space is narrow only in the following case: Bla bla bla bla bla bla bla bla bla % \startformula k>1000\implies |1/k-0|=1/k<1/1000=0.001. \stopformula Bla bla bla bla bla bla bla bla bla If I remove either “%” or the formula, then the output looks fine. As Otaired said it is better t

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Hans Hagen
On 1/16/2017 12:56 PM, Otared Kavian wrote: Hi Mikael, Thanks for making it clear to me: I was looking for the changes in vertical spacing around the formula… Now it is clear that there is a bug in the vertical spacing: when I typeset your example with mkii or mkiv ConTeXt Version 2016.05.17

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Otared Kavian
Hi Mikael, Thanks for making it clear to me: I was looking for the changes in vertical spacing around the formula… Now it is clear that there is a bug in the vertical spacing: when I typeset your example with mkii or mkiv ConTeXt Version 2016.05.17 from TeXLive, the issue is not present

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Mikael P. Sundqvist
Sat, Jan 14, 2017 at 1:00 AM, Otared Kavian <ota...@gmail.com> wrote: >>>> Hi Mikael, >>>> >>>> I tested your example but I see no difference in the outputs, with, or >>>> without a blank line between the text and the displayed formula. &g

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Otared Kavian
Hi Mikael, To make sure we are talking about the same issue, here are the outputs obtained with and without blank lines around \startformula…\stopformula: Can you please send me too your outputs so I can compare with mines? Best regards: OK formula-vertical-distance-with.pdf Description

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-15 Thread Mikael P. Sundqvist
; without a blank line between the text and the displayed formula. >> I am using ConteXt 2016.12.28 17:55 MKIV beta. >> >> Best regards: OK >> >>> On 13 Jan 2017, at 14:13, Mikael P. Sundqvist <mic...@gmail.com> wrote: >>> >>> Dear list, >>> >

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-13 Thread Mikael P. Sundqvist
On Sat, Jan 14, 2017 at 1:00 AM, Otared Kavian <ota...@gmail.com> wrote: > Hi Mikael, > > I tested your example but I see no difference in the outputs, with, or > without a blank line between the text and the displayed formula. > I am using ConteXt 2016.12.28 17:55 MKIV beta.

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-13 Thread Otared Kavian
Hi Mikael, I tested your example but I see no difference in the outputs, with, or without a blank line between the text and the displayed formula. I am using ConteXt 2016.12.28 17:55 MKIV beta. Best regards: OK > On 13 Jan 2017, at 14:13, Mikael P. Sundqvist <mic...@gmail.com> wrote:

[NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-13 Thread Mikael P. Sundqvist
Dear list, please have a look at the output (ctx-example13.pdf) of the somewhat ugly example below. The vertical space before the paragraph with the displayed formula is almost none. If I remove the % signs before and after the formula, the space before the paragraph looks ok. Do I have to enter

Re: [NTG-context] text–formula separation inside a frame

2016-10-05 Thread Wolfgang Schuster
Florian Leupold <mailto:fleup...@posteo.net> 5. Oktober 2016 um 21:50 Dear list, Sorry for posting a duplicate, but I guess my previous post got lost during the conference... I have got a problem with spacing before a formula inside a frame. The text–formula separation somehow is bigge

[NTG-context] text–formula separation inside a frame

2016-10-05 Thread Florian Leupold
Dear list, Sorry for posting a duplicate, but I guess my previous post got lost during the conference... I have got a problem with spacing before a formula inside a frame. The text–formula separation somehow is bigger when it occurs in a frame (see MWE below). Is there an explanation

[NTG-context] text–formula separation inside a frame

2016-09-25 Thread Florian Leupold
Dear list, I have got a problem with spacing before a formula inside a frame. The text–formula separation somehow is bigger when it occurs in a frame (see MWE below). Is there an explanation, and/or (even better) a possible fix? Thanks a lot! Florian MWE: \defineframed[Framed][width

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:43, Wolfgang Schuster > wrote: > >> Hans Åberg 14. September 2016 um 15:39 >> >> OK. Thanks. >> >> There is both \setupformulas and \setupformula. Are they the same? > Yes. Great. :-)

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Wolfgang Schuster
Hans Åberg 14. September 2016 um 15:39 OK. Thanks. There is both \setupformulas and \setupformula. Are they the same? Yes. Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:24, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Hans Åberg 14. September 2016 um 15:20 >> Looks like a bug: >> >> If there is no text immediately following a formula, the following paragraph >> is n

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Wolfgang Schuster
Hans Åberg <mailto:haber...@telia.com> 14. September 2016 um 15:20 Looks like a bug: If there is no text immediately following a formula, the following paragraph is not treated as such, but as the text following it. \setupformula[indentnext=auto] Wo

[NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
Looks like a bug: If there is no text immediately following a formula, the following paragraph is not treated as such, but as the text following it. \setupbodyfont[xits,10pt] \setupmathematics[integral=nolimits, lcgreek=normal, default=normal] \setupindenting[yes,medium,next] \starttext

Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 11:23, Mikael P. Sundqvist wrote: > > On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg wrote: >> In the example below, using latest ConTeXt, the bracket "[f]” does not show >> when using \startformula. > I think it gets interpreted as an

Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Mikael P. Sundqvist
On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg wrote: > In the example below, using latest ConTeXt, the bracket "[f]” does not show > when using \startformula. > > > \setupbodyfont[xits,10pt] > > \setupmathematics[lcgreek=normal, default=normal] > > \starttext > > \startformula

[NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula. \setupbodyfont[xits,10pt] \setupmathematics[lcgreek=normal, default=normal] \starttext \startformula [f] = B \stopformula $$ [f] = B $$ \stoptext

Re: [NTG-context] align text and formula

2016-08-27 Thread Hans Hagen
On 8/25/2016 4:07 PM, Wolfgang Schuster wrote: Henri Menke 25. August 2016 um 15:31 Hi Jan, unfortunately, these commands are in no book. I just looked them up in the ConTeXt source. However, these two books helped me a lot in improving my understanding of TeX and

Re: [NTG-context] align text and formula

2016-08-25 Thread Wolfgang Schuster
Henri Menke 25. August 2016 um 15:31 Hi Jan, unfortunately, these commands are in no book. I just looked them up in the ConTeXt source. However, these two books helped me a lot in improving my understanding of TeX and ConTeXt. They are definitely worth their

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
l t} \NR >> \stopalign >> \stopformula >> >> \stoptext >> >> The inner workings of this solution are quite messy. You *have* to have the >> \NC\NC between text and formula and the formula must not contain any further >> alignment points; text has

Re: [NTG-context] align text and formula

2016-08-25 Thread Jan Willem Flamma
c{\partial \psi(x,t)}{\partial t} \NR > \stopalign > \stopformula > > \stoptext > > The inner workings of this solution are quite messy. You *have* to have the > \NC\NC between text and formula and the formula must not contain any further > alignment points; text has t

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
workings of this solution are quite messy. You *have* to have the \NC\NC between text and formula and the formula must not contain any further alignment points; text has to be enclosed in \rlap. As you can see it centers the formula unconditionally and just flows into the text if it doesn't fit

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
Hi Otared, Thanks for the (very quick) reply. I’ve experiemented with that solution as well. However, the text can vary in length and this would required a lot of tweaking to try and get the formulas mid-aligned. I’m trying to find a fool proof solution that will get the formula mid-aligned

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
Hi Otared, I apologize for not explaining it better. Maybe the below example will illustrate better what I’m trying to achieve. - The first formula is perfectly aligned. - The bottom three formulas do not line up with the top formula I’m trying to align all formulas regardless of the amount

Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
text can vary in > length and this would required a lot of tweaking to try and get the formulas > mid-aligned. > I’m trying to find a fool proof solution that will get the formula > mid-aligned in all cases (and hope it exists). > > In any case, thanks for your suggestion! > >

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
Hi Otared, Thanks for the (very quick) reply. I’ve experiemented with that solution as well. However, the text can vary in length and this would required a lot of tweaking to try and get the formulas mid-aligned. I’m trying to find a fool proof solution that will get the formula mid-aligned

Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
lude text on the same line as a formula. > The text needs to be left-aligned and the formula needs to be mid-aligned (as > per normal). > > I’ve tried various solutions from the mathalign MyWay but have not succeeded > to get the desired result sofar. > Below a M-Not-WE. Clearly,

[NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
Dear list, I would like to include text on the same line as a formula. The text needs to be left-aligned and the formula needs to be mid-aligned (as per normal). I’ve tried various solutions from the mathalign MyWay but have not succeeded to get the desired result sofar. Below a M-Not-WE

Re: [NTG-context] Flushleft formula

2016-06-18 Thread Hans Hagen
On 6/17/2016 7:48 AM, Aditya Mahajan wrote: On Thu, 16 Jun 2016, Alan BRASLAU wrote: On Thu, 16 Jun 2016 18:18:58 -0400 Aditya Mahajan wrote: And some stage, it will be nice to discuss the possiblility of adding background to formulas, especially aligned formulas.

Re: [NTG-context] Flushleft formula

2016-06-17 Thread Hans Hagen
On 6/17/2016 12:18 AM, Aditya Mahajan wrote: On Thu, 16 Jun 2016, Hans Hagen wrote: On 6/16/2016 6:58 PM, Aditya Mahajan wrote: Hi, Something has changed with respect to the align=flushleft option for formulas. Earlier (tested with 2016.05.08), align=flushleft did not remove the

Re: [NTG-context] Flushleft formula

2016-06-16 Thread Aditya Mahajan
On Thu, 16 Jun 2016, Alan BRASLAU wrote: On Thu, 16 Jun 2016 18:18:58 -0400 Aditya Mahajan wrote: And some stage, it will be nice to discuss the possiblility of adding background to formulas, especially aligned formulas. something like a \setupformula

Re: [NTG-context] Flushleft formula

2016-06-16 Thread Alan BRASLAU
On Thu, 16 Jun 2016 18:18:58 -0400 Aditya Mahajan wrote: > And some stage, it will be nice to discuss the possiblility of adding > background to formulas, especially aligned formulas. something like a \setupformula

Re: [NTG-context] Flushleft formula

2016-06-16 Thread Aditya Mahajan
On Thu, 16 Jun 2016, Hans Hagen wrote: On 6/16/2016 6:58 PM, Aditya Mahajan wrote: Hi, Something has changed with respect to the align=flushleft option for formulas. Earlier (tested with 2016.05.08), align=flushleft did not remove the leftskip, but now it does. it doesn't but somehow

Re: [NTG-context] Flushleft formula

2016-06-16 Thread Hans Hagen
On 6/16/2016 6:58 PM, Aditya Mahajan wrote: Hi, Something has changed with respect to the align=flushleft option for formulas. Earlier (tested with 2016.05.08), align=flushleft did not remove the leftskip, but now it does. it doesn't but somehow it's not effective (indeed spacing was

[NTG-context] Flushleft formula

2016-06-16 Thread Aditya Mahajan
Hi, Something has changed with respect to the align=flushleft option for formulas. Earlier (tested with 2016.05.08), align=flushleft did not remove the leftskip, but now it does. Consider the following example: \showframe \setupitemize[margin=6em] \setupformula[align=flushleft] \starttext

Re: [NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Jannik Voges
Thank you, Wolfgang, that works. Best regards Jannik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Alias 1
Hello, I spotted a strange behavior when I use  \setupformulas[way=bychapter,prefixsegments=chapter] to get formula numbers with the chapternumber as prefix and using \setuphead[…][number=no] to turn off the title number. Minimal example: \setupformulas[way=bychapter,prefixsegments=chapter

Re: [NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Wolfgang Schuster
Alias 1 <mailto:researchj...@icloud.com> 11. Januar 2016 um 18:01 Hello, I spotted a strange behavior when I use \setupformulas[way=bychapter,prefixsegments=chapter] to get formula numbers with the chapternumber as prefix and using \setuphead[…][number=no] to turn off the title

  1   2   3   4   >